Skip to content

chore: Add @theme-ui/mdx to Gatsby install instructions#2373

Merged
lachlanjc merged 2 commits intosystem-ui:developfrom
LekoArts:patch-1
Dec 2, 2022
Merged

chore: Add @theme-ui/mdx to Gatsby install instructions#2373
lachlanjc merged 2 commits intosystem-ui:developfrom
LekoArts:patch-1

Conversation

@LekoArts
Copy link
Copy Markdown
Contributor

@LekoArts LekoArts commented Dec 2, 2022

Hi!

I guess until Theme UI v1 (and it's clearly decided that the Gatsby plugin shouldn't include MDX anymore) the instructions need to be updated to also install @theme-ui/mdx for now.

@codesandbox-ci
Copy link
Copy Markdown

codesandbox-ci Bot commented Dec 2, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 50758b9:

Sandbox Source
next-theme-ui-example Configuration
gatsby-plugin-theme-ui-example Configuration

@vercel
Copy link
Copy Markdown

vercel Bot commented Dec 2, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
theme-ui ✅ Ready (Inspect) Visit Preview Dec 2, 2022 at 11:22AM (UTC)

Copy link
Copy Markdown
Member

@lachlanjc lachlanjc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@lachlanjc
Copy link
Copy Markdown
Member

Curious for your thoughts—should the Gatsby plugin include MDX automatically?

@lachlanjc lachlanjc added the documentation Changes only affect the documentation label Dec 2, 2022
@LekoArts
Copy link
Copy Markdown
Contributor Author

LekoArts commented Dec 2, 2022

You're welcome! As for your question, as said in #832 (comment) I think the plugin shouldn't include any MDX handling anymore. It's easier for you and for the users in the longrun to not have to mess with MDX in Theme UI. If you use MDX + Gatsby, you'll already set up a provider anyways.

@lachlanjc
Copy link
Copy Markdown
Member

Ah right, sounds great. Totally agree.

@lachlanjc lachlanjc merged commit 8e4b9d4 into system-ui:develop Dec 2, 2022
@LekoArts LekoArts deleted the patch-1 branch December 4, 2022 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Changes only affect the documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants